﻿using System;
using System.Transactions;
using System.Collections.Generic;

using YhmOA.IDAL;
using YhmOA.Model;
using YhmOA.Common;


namespace YhmOA.BLL
{
    public class Integrated_Car_CarBLL
    {
        private static ITDal<Integrated_Car_Car> GetTDal()
        {
            return DataProvider.GetGEFDal<ITDal<Integrated_Car_Car>>();
        }

        private static IIntegrated_Car_CarDAL GetDal()
        {
            return DataProvider.GetEFDal<IIntegrated_Car_CarDAL>();
        }

        /// <summary>
        /// 取得车牌号码列表
        /// </summary>
        /// <returns>车牌号码列表</returns>
        public static List<string> GetPlateNumList()
        {
            return GetDal().GetPlateNumList();
        }
    }
}
